<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        .fu{
            background-color: #facaca;
            /*溢出前提 父容器有明确大小*/
            width: 500px;
           height: 1400px;
            overflow: visible;/*默认 溢出可见*/
            overflow: hidden;/*溢出隐藏*/
            overflow: scroll;/*显示拖拽条*/
            overflow: auto;/*只有溢出方向显示拖拽条*/
        }
        .txt{
            background-color: #f48b8b;
            white-space: nowrap;/*禁止换行*/
            overflow: hidden;
            text-overflow: ellipsis;/*超出部分显示省略号*/
        }
    </style>
</head>
<body>
<div class="fu">
    <div class="txt" title="dxhfbvcsgbfohbovfhbsorfhglisv">
        Lorem ipsum dolor sit amet, consectetur adipisicing elit. A accusamus adipisci alias aliquam aspernatur at culpa dicta excepturi facere fugiat impedit iusto, minima nulla, quas qui sit soluta suscipit, ullam.
    </div>
    <img src="../bb.jpg">
    <img src="../bb.jpg">
</div>
</body>
</html>